<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html>
<html lang="en">
<base href="<%=basePath%>">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <link rel="stylesheet" href="css/fileImage.css" />
</head>

<body>
	<div style="padding:15px 30px">
		<form id="allergyForm" method="post">
			<input name="id" type="hidden">
			<div style="margin-bottom:18px">
			    <input id="patientid" class="easyui-combobox" name="patient.id" style="width:100%;" data-options=" 
			      url:'patient/patientall',
			      valueField:'id', 
			      textField:'name', 
			      label: '病人'
			      ">
			</div>
	        <div style="margin-bottom:18px">
	            <input class="easyui-textbox" id="drugName" name="drugName" style="width:100%" data-options="label:'过敏药品:',required:true,missingMessage:'过敏药品必须填写'">
	        </div>
	        <div style="margin-bottom:18px">
	            <input class="easyui-datebox" id="astDate" name="astDate" style="width:100%" data-options="label:'皮试日期:',required:true,missingMessage:'皮试日期必须填写'">
	        </div>
			<div style="margin-bottom:18px">
				<input class="easyui-textbox" id="astHospital" name="astHospital" style="width:100%" data-options="label:'皮试医院:',required:true,missingMessage:'皮试医院必须填写'">
			</div>
		</form>
	</div>
</body>
</html>